package com.todo.biz.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/10 15:48
 * @description
 */
@Data
@Schema(title = "收藏业务数据入参", description = "收藏业务数据入参")
public class CollectBusinessDataParam {

    private CurrentUser _user;

    /**
     * 业务场景
     */
    @Schema(title = "业务场景", description = "业务场景")
    private Integer businessScene;
    /**
     * 关联id
     */
    @Schema(title = "关联id", description = "关联id")
    private String relationId;

    public boolean baseCheck() {
        if (businessScene == null || relationId == null) {
            return false;
        }
        return true;
    }
}
